<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div @contextmenu.prevent>0_0</div>
    <div id="app">
        <div @click="fn1" @contextmenu.prevent>洛璃
            <div @click="fn2">梦娇
                <div @click.stop="fn3">昕
                </div>
            </div>
        </div>
    </div>
    <script src="../vue2.js"></script>
    <script>
        const vm = new Vue({
            el:'#app',
            data(){
                return{
                    num: 0
                }
            },
            methods:{
                fn1(){
                    console.log(洛璃);
                },
                fn2(){
                    console.log(梦娇);
                },
                fn3(){
                    console.log(昕);
                }
            }
        })
    </script>
</body>
</html>